<?php
//
//add_action( 'init', 'create_post_type' );
//function create_post_type() {
//	register_taxonomy(
//		'coursecategory',
//		'course',
//		array(
//			'label' => __( 'Category' ),
//			'rewrite' => array( 'slug' => 'course-category'),
//			'hierarchical' => true
//		)
//	);
//	
//	register_post_type( 'course',
//		array(
//			'labels' => array(
//				'name' => __( 'Course' ),
//				'singular_name' => __( 'Course' ),
//				'add_new' => _x('Add New', 'course'),
//				'add_new_item' => __('Add New Course'),
//				'edit_item' => __('Edit Course'),
//				'new_item' => __('New Course'),
//				'view_item' => __('View Course'),
//				'search_items' => __('Search Course')
//			),
//		'public' => true,
//		'publicly_queryable' => true,
//		'has_archive' => true,
//		'hierarchical' => false,
//		'taxonomies' => array('coursecategory'),
//		'supports' => array( 'title', 'editor', 'author', 'thumbnail', 'comments', 'custom-fields', 'cats')
//		)
//	);
//}
// include demo custom post type
//include('custom-post-types/demo_custom_post_type.php');
include('custom-post-types/movie.php');
//include('custom-post-types/Manager_Actor.php');
//include('custom-post-types/Manager_TV.php');
//include('custom-post-types/Manager_fun_facts.php');
//include('custom-post-types/Manager_preview.php');
//include('custom-post-types/product_release.php');
//include('custom-post-types/director.php');
//include('custom-post-types/sanxuat_phathanh.php');